﻿
var CONTEXT_PATH = getRelationContext();
if(CONTEXT_PATH==null || CONTEXT_PATH=="") alert("context为空");

var FORMULAR_SCRIPT = [	
	CONTEXT_PATH+"/Map.js",
	
	CONTEXT_PATH+"/util/CalculateUtil.js",
	
	CONTEXT_PATH+"/function/Year.js",
	CONTEXT_PATH+"/function/Sum.js",
	CONTEXT_PATH+"/function/If.js",
	CONTEXT_PATH+"/function/FunctionLib.js",
	
	CONTEXT_PATH+"/ExpressionParser.js",
	CONTEXT_PATH+"/FormulaParser.js",
	
	CONTEXT_PATH+"/FormulaException.js"
	]
	

for(var i = 0 ;  i < FORMULAR_SCRIPT.length; i ++){
	var str = "<script src='"+FORMULAR_SCRIPT[i]+"'></script>";
	document.write(str);
}

